<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>

<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<html><head><script type="text/javascript" src="js/mascaras.js"></script>
		

<link rel="stylesheet" type="text/css" href="content_dge.css"></head>
<body>
<f:view>
<h:form id="formulario" target="content">


<table width="100%" border="0" cellpadding="2" cellspacing="0"><tbody><tr><td class="FundoABA" width="10px">&nbsp;</td><td class="SelecionadaABA" nowrap="nowrap"><font class="SelecionadaFontABA">&nbsp;Detalhes&nbsp;</font></td><td class="FundoABA" width="1px"></td><td class="FundoABA" width="100%">&nbsp;</td></tr><tr><td colspan="4" class="SelecionadaABA" height="4px"></td></tr></tbody></table><table width="100%" align="center" border="0" cellpadding="1" cellspacing="0">
<tbody><tr><td>

<table class="FormTABLE" cellspacing="0">

<h:inputHidden value="#{ClienteJSF.id}" id="id" />

<tbody><tr><td class="RecordSeparatorTD" colspan="2"><font class="RecordSeparatorFONT"><b>Dados Cadastrais</b></font></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Nome : </font></td><td class="DataTD" width="80%"><font class="DataFONT"><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText id="nome" value="#{ClienteJSF.nome}" required="true" requiredMessage="* campo obrigatório"/></font><h:message for="nome" errorStyle="color:red" warnClass="" /></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Sobrenome : </font></td><td class="DataTD" width="80%"><font class="DataFONT"><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText id="sobrenome" value="#{ClienteJSF.sobrenome}" required="true" requiredMessage="* campo obrigatório"/></font><h:message for="nome" errorStyle="color:red" warnClass="" /></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">C.P.F :</font></td><td class="DataTD" width="80%"><font class="DataFONT"><h:inputText  id="cpf" value="#{ClienteJSF.cpf}" required="true"  requiredMessage="* campo obrigatório" onkeypress="mascara(this,cpf)" style="text-align: right;" size="20" maxlength="14"/></font><h:message for="cpf" errorStyle="color:red" warnClass="" /></td><td class="DataTD" width="80%"></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Passaporte: </font></td><td class="DataTD" width="80%"><font class="DataFONT">

<script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText  id="passaporte" value="#{ClienteJSF.passaporte}" required="false" requiredMessage=""  style="" size="30" maxlength="30"/></font><h:message for="passaporte" errorStyle="color:red" warnClass="" /></td></tr>


<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Endereço: </font></td><td class="DataTD" width="80%"><font class="DataFONT">

<script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText  id="endereco" value="#{ClienteJSF.endereco}" required="true" requiredMessage="* campo obrigatório"  style="" size="30" maxlength="50"/></font><h:message for="endereco" errorStyle="color:red" warnClass="" /></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Email: </font></td><td class="DataTD" width="80%"><font class="DataFONT"><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText  id="email" value="#{ClienteJSF.email}" required="true" requiredMessage="* campo obrigatório"  style="" size="30" maxlength="50"/></font><h:message for="email" errorStyle="color:red" warnClass="" /></td></tr>


<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Telefone: </font></td><td class="DataTD" width="80%"><font class="DataFONT"><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText  id="telefone" value="#{ClienteJSF.telefone}" required="true" requiredMessage="* campo obrigatório" onkeypress="MascaraTelefone(frm.f_telefone,event)" style="text-align: right;" size="14" maxlength="14"/></font><h:message for="telefone" errorStyle="color:red" warnClass="" /></td></tr>

<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Login: </font></td><td class="DataTD" width="80%"><font class="DataFONT"><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText  id="usuario" value="#{ClienteJSF.usuario}" required="true" requiredMessage="* campo obrigatório"  style="" size="14" maxlength="10"/></font><h:message for="email" errorStyle="color:red" warnClass="" /></td></tr>


<tr><td class="LabelTD" width="20%" nowrap="nowrap"><font class="LabelFONT">Senha: </font></td><td class="DataTD" width="80%" ><font class="DataFONT" format><script language="javascript" src="../inc/js/formatacao.js"></script><script language="javascript" src="../inc/js/formatacaoCNPJ.js"></script><h:inputText id="senha" value="#{ClienteJSF.senha}" required="true" requiredMessage="* campo obrigatório" onkeypress="" style="text-align: right;" size="10" maxlength="6"/></font><h:message for="password" errorStyle="color:red" warnClass="" /></td></tr>





</tbody></table>
<h:commandButton value="Salvar" action="#{ClienteJSF.save}"  />

</table>
</h:form>
</f:view>
</body></html>